package fr.neyb.bernouilli.common.tools;

public class CheckTools {
	private CheckTools() {
	}
	
	public static enum checks{
		
	}

	public static void checkNotNull(Object... objects) {
		for (Object object : objects)
			if (object == null)
				throw new IllegalArgumentException();
	}

	public static void checkNotEmpty(Object[] array) {
		if(array.length <= 0)
			throw new IllegalArgumentException();
	}

}
